package proxy.cglib;

/**
 * @author mubei
 * @date 2021/12/14
 * @description
 */
public class Client {

    public static void main(String[] args) {
        TeacherDao teacherDao = new TeacherDao();
        TeacherDao proxyInstance =(TeacherDao) new ProxyFactory(teacherDao).getProxyInstance();
        proxyInstance.teach();

    }
}
